import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant'
import VueLazyload from 'vue-lazyload'
import 'amfe-flexible'// 动态设置rem基准值
import 'vant/lib/index.css'
// 引入样式
import './styles/index.less'
// 加载dayjs
import '@/utils/dayjs'
Vue.use(Vant)
Vue.use(VueLazyload, {
  preLoad: 1.3,
  attempt: 1
})
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
